<%@page import="champPackage.DBManager"%>
<%@page import="champPackage.Championship"%>
<%@ page import="java.util.ArrayList" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Soccer website</title>
<meta name="description" content="Soccer website">
<meta name="keywords" content="soccer, website">
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="l-bg">&nbsp;</td>
<td width="1" valign="top" class="l-shadow-bg"><img src="images/l-shad-bg.gif" width="21" height="3"></td>
<td width="750" height="100%" valign="top" bgcolor="#295718"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1"><img src="images/t1.gif" alt="" width="8" height="148"></td>
<td width="1"><div style="position:absolute; top:50px; margin-left:193px; width: 300px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="c_name">Championships Online</td>
</tr>
<tr>
<td height="1"><img src="images/c-name-sep.jpg" width="286" height="1"></td>
</tr>
</table>
</div>
<img src="images/t2.jpg" width="734" height="148"></td>
<td width="1"><img src="images/t3.gif" width="8" height="148"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="100%" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="1" height="100%" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="1"><img src="images/l1.jpg" width="180" height="62"></td>
</tr>
<tr>
<td height="1" background="images/menu-bg-1.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1"><img src="images/spacer.gif" width="1" height="26"></td>
<td class="menu"><a href="http://localhost:8080/ChampionshipProject/HomeLoggedIn.jsp" class="menu_lnk">Home</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1" background="images/menu-bg-2.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1"><img src="images/spacer.gif" width="1" height="24"></td>
<td class="menu"><a href="#" class="menu_lnk">Current Championships</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1" background="images/menu-bg-3.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1"><img src="images/spacer.gif" width="1" height="24"></td>
<td class="menu"><a href="#" class="menu_lnk">Championships Archive</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1" background="images/menu-bg-4.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1"><img src="images/spacer.gif" width="1" height="24"></td>
<td class="menu"><a href="#" class="menu_lnk">Champion teams</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1" background="images/menu-bg-5-m.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1"><img src="images/spacer.gif" width="1" height="24"></td>
<td class="menu"><a href="http://localhost:8080/ChampionshipProject/userRegistration.jsp" class="menu_lnk">Register new user</a></td>
</tr>
</table></td>
</tr>

<tr>
<td height="1" background="images/menu-bg-last.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1"><img src="images/spacer.gif" width="1" height="25"></td>
<td class="menu"><a href="#" class="menu_lnk">Register a championship</a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1"><img src="images/spacer.gif" width="1" height="10"></td>
</tr>
<tr>
<td height="1"><img src="images/l2.jpg" width="180" height="7"></td>
</tr>
<tr>
<td height="100%" class="l-content">The modern game was codified in England following the formation of the Football   Association, whose 1863 Laws of the Game created the foundations for the way the   sport is played today. Football is governed internationally by F&eacute;d&eacute;ration   Internationale de Football Association (FIFA).</td>
</tr>
</table></td>
<td height="100%" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="100%" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="1"><img src="images/spacer.gif" width="4" height="1"></td>
<td width="1" valign="top" background="images/c-2-bg.gif" bgcolor="#244d15" class="bgx"><img src="images/c-2-1.gif" width="6" height="7"></td>
<td width="100" valign="top" background="images/c-3-5-bg.gif" bgcolor="#2A521C" class="bgx"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="1" class="c-3-1-bg">Welcome to soccer website!</td>
</tr>
<tr>
<td><img src="images/title-sep.gif" alt="" width="270" height="1"></td>
</tr>
<tr>
<td height="100%" class="body_txt"><p>
<script type="text/javascript"><!--
google_ad_client = "pub-0500162490295296";
google_ad_width = 234;
google_ad_height = 60;
google_ad_format = "234x60_as";
google_ad_type = "text";
//2006-11-21: Web templates - LAYOUTS
google_ad_channel = "0286771451";
google_color_border = "364f2d";
google_color_bg = "364f2d";
google_color_link = "ffe08e";
google_color_text = "FFFFFF";
google_color_url = "B3B3B3";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
<p>

<%
DBManager db;
db=DBManager.getInstance();
ArrayList<Championship>names=db.getAllChampionships();
String name;
out.println("<ul>");
for(int i=0;i<names.size();i++){
	name = names.get(i).getChampionshipName();	
	out.println("<li> <a href = \"Show-Product.jsp?id="+names.get(i).getId()+"\">"+ name+" </a>");	
//	request.getServletContext().setAttribute("id",con.getId(name) );
}
out.println("</ul>");
%>

</p>
<p><em>Enjoy!</em></p>
<div style="border:#ffe08e solid 1px;padding:4px 6px 2px 6px"></a>aq semizlia chavwero rac minda<br>


</div></td>
</tr>
</table></td>
<td width="1" valign="top" background="images/c-2-bg.gif" bgcolor="#244d15" class="bgx"><img src="images/spacer.gif" width="4" height="1"></td>
<td valign="top" background="images/c-3-5-bg.gif" bgcolor="#2C521D" class="bgx"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="c-5-1">News &amp; Events</td>
</tr>
<tr>
<td height="100%" class="body_txt"><p>there will be some news, for example that Free University of Tbilisi is preparing for another football championship, which will start in September 2012. Nikoloz Machavariani says: "my team will definately win this championship, we have very good players". but considering the fact that the second year students are going to fill their team with talanted first year students, Nikoloz might get dissapointed . <img src="images/content-pic-2.jpg" width="132" height="90" class="float-left">the most attractive thing about this championship will be girl's team. Ana Mamulashvili says she is tired of being underestimated from men and she is going to show all of us strength of women.</p></td>

<p>
<form action="LogInServlet" method = "post">

<p>
User Name: <input type= "text" name="user">
</p>
<p>
Password : <input type= "text" name="password">
<input type="submit">
</p>
</form>
</p>
</tr>
</table></td>
<td width="1" valign="top" background="images/c-2-bg.gif" bgcolor="#244d15" class="bgx"><img src="images/c-6-1.gif" width="5" height="10"></td>
<td width="1"><img src="images/spacer.gif" width="11" height="1"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="1"><img src="images/c-bot.gif" alt="" width="570" height="12"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#2a5718"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1"><img src="images/b1.gif" alt="" width="16" height="53"></td>
<td width="150" class="bottom_addr">&copy; 2010 Company Name<br>
All Rights Reserved</td>
<td width="555" class="bottom-menu"><a href="#" class="bottom-menu-lnk">Home Page</a> | <a href="#" class="bottom-menu-lnk">About Us</a> | <a href="#" class="bottom-menu-lnk">Our Clients</a> | <a href="#" class="bottom-menu-lnk">Testimonials</a> | <a href="#" class="bottom-menu-lnk">Price List</a> | <a href="#" class="bottom-menu-lnk">Contact Details</a><br />

<td width="1"><img src="images/b3.gif" width="16" height="53"></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="1" valign="top" class="r-shad-bg"><img src="images/r-shad-bg.gif" width="21" height="3">
</td>
<td class="r-bg">&nbsp;</td>
</tr>
</table>
<div style="position:absolute;left:-30000px;top:-30000px"><a href="http://www.template4all.com" title="Free Web Templates Download">Free Website templates</a><a href="http://www.seodesign.us" title="Creation Site internet Gratuit">www.seodesign.us</a><a href="http://www.template4all.com/flash/" title="Free flash Templates">Free Flash Templates</a><a href="http://www.riadibnkhaldoun.com/" title="Riad in Fes">Riad In Fez</a><a href="http://www.template4all.com/joomla/" title="Free joomla Templates">Free joomla templates</a><a href="http://www.seodesign.us" title="agence Web Maroc">Agence Web Maroc</a><a href="http://www.musiczik.net" title="Free music videos online">Music Videos Online</a><a href="http://www.freethemes4all.com" title="Free wordpress themes">Free Wordpress Themes Templates</a><a href="http://www.freethemes4all.com" title="Free Website Templates download">freethemes4all.com</a><a href="http://templates4all.blogspot.com" title="Free Blogger Templates">Free Blog Templates</a><a href="http://www.bestnewslinks.info" title="Best Last News">Last News</a><a href="http://freecmstemplates.blogspot.com" title="Free cms Templates">Free CMS Templates</a><a href="http://www.template4all.com/css/" title="Free CSS Templates">Free CSS Templates</a><a href="http://www.videosfoot.info" title="Soccer Videos Online">Soccer Videos Online</a><a href="http://www.template4all.com/wordpress/" title="Free wordpress themes">Free Wordpress Themes</a><a href="http://www.freethemes4all.com" title="Free Web Templates">Free Web Templates</a></div>
</body>
</html>
